package com.scalar.chiptrack.operations.dataentry;

import com.scalar.chiptrack.utils.StringUtils;

/**
 * Created by Sudhakar.
 * Date: Jun 14, 2005
 * Time: 12:09:52 PM
 */
public class InTransitLots
{

    private String lotNumber        = null;
    private String partNumber       = null;
    private String shipDate         = null;
    private String shipQty          = null;
    private String recivedShipQty   = null;
    private String shippedLotID     = null;
    private String vendorName       = null;
    private boolean checked         = false;
    private String comments         = null;
    private String waferId          = null;
    private int lotID               = -1;
    private int bin1;
    private int bin2;
    private int bin3;
    private int bin4;
    private int bin5;
    private int bin6;
    private int bin7;
    private int bin8;
    private int bin9;
    private int bin10;
    private int bin11;
    private int bin12;
    private int bin13;
    private int bin14;
    private int bin15;

    private String moveTo       = null;
    private String nextLocation = null;

    /* the following two properties (location and dateOut i.e. sort date out.) are used in MRB Release */
    private String location         = null;
    private String dateOut          = null;
    private String invoiceNo        = null;
    private String etd              = null;
    private String eta              = null;
    private String customerSO       = null;
    private String customerPO       = null;
    private String processStepId    = null;
    private String processType      = null;
    private String nextProcessType  = null;
    private String locationId       = null;
    private int shipReqId           = -1;
    private int lotId               = -1;

    private int grossDie            = -1;
    private int grossDiePerWafer    = -1;
    private String gdpwString = null;
    private String dieBankLotNo     = null;
    private int dieBankprocessStepId    = -1;
    private String vendorCode       = null;
    private String fabLotNumber     = null;
    private String waferCheckedStr  = null;
    private String checkedWaferIdsAsString;
    private String checkedGDPWString;
    private String waferIdValueAsString;
    private String dateCode;
    private String dateCode1;
    
    public String getLotNumber()
    {
        return lotNumber;
    }

    public void setLotNumber( String lotNumber )
    {
        this.lotNumber = lotNumber;
    }

    public String getPartNumber()
    {
        return partNumber;
    }

    public void setPartNumber( String partNumber )
    {
        this.partNumber = partNumber;
    }

    public String getShipDate()
    {
        return shipDate;
    }

    public void setShipDate( String shipDate )
    {
        if( shipDate != null && shipDate.trim().length() > 10 )
        {
            shipDate = StringUtils.formatDate(shipDate,"yyyy-MM-dd HH:mm:ss","MM/dd/yyyy");
        }

        this.shipDate = shipDate;
    }

    public String getShipQty()
    {
        return shipQty;
    }

    public void setShipQty( String shipQty )
    {
        this.shipQty = shipQty;
    }

    public String getRecivedShipQty()
    {
        return recivedShipQty;
    }

    public void setRecivedShipQty( String recivedShipQty )
    {
        this.recivedShipQty = recivedShipQty;
    }

    public String getShippedLotID()
    {
        return shippedLotID;
    }

    public void setShippedLotID( String shippedLotID )
    {
        this.shippedLotID = shippedLotID;
    }

    public String getVendorName()
    {
        return vendorName;
    }

    public void setVendorName( String vendorName )
    {
        this.vendorName = vendorName;
    }

    public boolean isChecked()
    {
        return checked;
    }

    public void setChecked( boolean checked )
    {
        this.checked = checked;
    }

    public String getComments()
    {
        return comments;
    }

    public void setComments( String comments )
    {
        this.comments = comments;
    }

    public String getWaferId() {
        return waferId;
    }

    public void setWaferId(String waferId) {
        this.waferId = waferId;
    }

    public int getLotID() {
        return lotID;
    }

    public void setLotID(int lotID) {
        this.lotID = lotID;
    }

    public int getBin1() {
        return bin1;
    }

    public void setBin1(int bin1) {
        this.bin1 = bin1;
    }

    public int getBin2() {
        return bin2;
    }

    public void setBin2(int bin2) {
        this.bin2 = bin2;
    }

    public int getBin3() {
        return bin3;
    }

    public void setBin3(int bin3) {
        this.bin3 = bin3;
    }

    public int getBin4() {
        return bin4;
    }

    public void setBin4(int bin4) {
        this.bin4 = bin4;
    }

    public int getBin5() {
        return bin5;
    }

    public void setBin5(int bin5) {
        this.bin5 = bin5;
    }

    public int getBin6() {
        return bin6;
    }

    public void setBin6(int bin6) {
        this.bin6 = bin6;
    }

    public int getBin7() {
        return bin7;
    }

    public void setBin7(int bin7) {
        this.bin7 = bin7;
    }

    public int getBin8() {
        return bin8;
    }

    public void setBin8(int bin8) {
        this.bin8 = bin8;
    }

    public int getBin9() {
        return bin9;
    }

    public void setBin9(int bin9) {
        this.bin9 = bin9;
    }

    public int getBin10() {
        return bin10;
    }

    public void setBin10(int bin10) {
        this.bin10 = bin10;
    }

    public int getBin11() {
        return bin11;
    }

    public void setBin11(int bin11) {
        this.bin11 = bin11;
    }

    public int getBin12() {
        return bin12;
    }

    public void setBin12(int bin12) {
        this.bin12 = bin12;
    }

    public int getBin13() {
        return bin13;
    }

    public void setBin13(int bin13) {
        this.bin13 = bin13;
    }

    public int getBin14() {
        return bin14;
    }

    public void setBin14(int bin14) {
        this.bin14 = bin14;
    }

    public int getBin15() {
        return bin15;
    }

    public void setBin15(int bin15) {
        this.bin15 = bin15;
    }

    public String getMoveTo()
    {
        return moveTo;
    }

    public void setMoveTo(String moveTo)
    {
        this.moveTo = moveTo;
    }

    public String getNextLocation() {
        return nextLocation;
    }

    public void setNextLocation(String nextLocation) {
        this.nextLocation = nextLocation;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public String getDateOut() {
        return dateOut;
    }

    public void setDateOut(String dateOut) {
        this.dateOut = dateOut;
    }

    public String getInvoiceNo()
    {
        return invoiceNo;
    }

    public void setInvoiceNo( String invoiceNo )
    {
        this.invoiceNo = invoiceNo;
    }

    public String getEtd()
    {
        return etd;
    }

    public void setEtd( String etd )
    {
        if( etd != null && etd.trim().length() > 10 )
        {
            etd = StringUtils.formatDate( etd,"yyyy-MM-dd HH:mm:ss","MM/dd/yyyy");
        }

        this.etd = etd;
    }

    public String getEta()
    {
        return eta;
    }

    public void setEta( String eta )
    {
        if( eta != null && eta.trim().length() > 10 )
        {
            eta = StringUtils.formatDate( eta,"yyyy-MM-dd HH:mm:ss","MM/dd/yyyy");
        }

        this.eta = eta;
    }

    public String getCustomerSO()
    {
        return customerSO;
    }

    public void setCustomerSO( String customerSO )
    {
        this.customerSO = customerSO;
    }

    public String getCustomerPO()
    {
        return customerPO;
    }

    public void setCustomerPO( String customerPO )
    {
        this.customerPO = customerPO;
    }

    public String getProcessStepId()
    {
        return processStepId;
    }

    public void setProcessStepId( String processStepId )
    {
        this.processStepId = processStepId;
    }

    public String getProcessType()
    {
        return processType;
    }

    public void setProcessType( String processType )
    {
        this.processType = processType;
    }

    public String getLocationId()
    {
        return locationId;
    }

    public void setLocationId( String locationId )
    {
        this.locationId = locationId;
    }

    public int getShipReqId() {
        return shipReqId;
    }

    public void setShipReqId(int shipReqId) {
        this.shipReqId = shipReqId;
    }

    public int getLotId() {
        return lotId;
    }

    public void setLotId(int lotId) {
        this.lotId = lotId;
    }

    public int getGrossDie() {
        return grossDie;
    }

    public void setGrossDie(int grossDie) {
        this.grossDie = grossDie;
    }

    public int getGrossDiePerWafer() {
        return grossDiePerWafer;
    }

    public void setGrossDiePerWafer(int grossDiePerWafer) {
        this.grossDiePerWafer = grossDiePerWafer;
    }
    public String getGdpwString() {
        return gdpwString;
    }

    public void setGdpwString(String gdpwString) {
        this.gdpwString = gdpwString;
    }

    public String getDieBankLotNo() {
        return dieBankLotNo;
    }

    public void setDieBankLotNo(String dieBankLotNo) {
        this.dieBankLotNo = dieBankLotNo;
    }

    public int getDieBankprocessStepId() {
        return dieBankprocessStepId;
    }

    public void setDieBankprocessStepId(int dieBankprocessStepId) {
        this.dieBankprocessStepId = dieBankprocessStepId;
    }

    public String getVendorCode() {
        return vendorCode;
    }

    public void setVendorCode(String vendorCode) {
        this.vendorCode = vendorCode;
    }

    public String getFabLotNumber() {
        return fabLotNumber;
    }

    public void setFabLotNumber(String fabLotNumber) {
        this.fabLotNumber = fabLotNumber;
    }

    public String getWaferCheckedStr() {
        return waferCheckedStr;
    }

    public void setWaferCheckedStr(String waferCheckedStr) {
        this.waferCheckedStr = waferCheckedStr;
    }

    public String getCheckedWaferIdsAsString() {
        return checkedWaferIdsAsString;
    }

    public void setCheckedWaferIdsAsString(String checkedWaferIdsAsString) {
        this.checkedWaferIdsAsString = checkedWaferIdsAsString;
    }

    public String getCheckedGDPWString() {
        return checkedGDPWString;
    }

    public void setCheckedGDPWString(String checkedGDPWString) {
        this.checkedGDPWString = checkedGDPWString;
    }

    public String getWaferIdValueAsString() {
        return waferIdValueAsString;
    }

    public void setWaferIdValueAsString(String waferIdValueAsString) {
        this.waferIdValueAsString = waferIdValueAsString;
    }

    public String getNextProcessType() {
        return nextProcessType;
    }

    public void setNextProcessType(String nextProcessType) {
        this.nextProcessType = nextProcessType;
    }

    public String getDateCode() {
        return dateCode;
    }

    public void setDateCode(String dateCode) {
        this.dateCode = dateCode;
    }

    public String getDateCode1() {
        return dateCode1;
    }

    public void setDateCode1(String dateCode1) {
        this.dateCode1 = dateCode1;
    }
}
